$.Model('SystemResources', {
  findall : function(params, success, error){
    return $.ajax({
      url: '/system/resources/',
      type: 'get',
      data: params,
      success: success,
      error: error
		});
  }
},{});

$.Model.List('SystemResources.List', {}, {
	init: function() {
		//alert(456);
	}
  // prototype properties
});

$.Model('SystemResourcesSchema', {}, {
	init: function() {
		alert(123);
	}
  // prototype properties
});

SystemResources.findall({}, function(resources) {
	console.log(resources);
});

srl = new SystemResources.List([
	{
		_id: 1,
		_hid: 'Wood'
	},
	{
		_id: 2,
		_hid: 'Stone'
	},
]);


//console.log(srl);